package com.springpad;
import firstdroid.tutorial.gridview.R;
import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.view.View.OnClickListener;
import android.widget.Button;
import android.widget.ImageButton;
public class Menu extends Activity {
	@Override
	public void onCreate(Bundle savedInstanceState) {
		super.onCreate(savedInstanceState);
		setContentView(R.layout.menu);
		ImageButton b=(ImageButton) findViewById(R.id.imageButton3);
		 b.setOnClickListener(new OnClickListener() {
			 
				@Override
				public void onClick(View v) {
					startActivity(new Intent(Menu.this,MyGridView.class));
					
				}
			});
		 ImageButton view=(ImageButton) findViewById(R.id.imageButton4);
		 view.setOnClickListener(new OnClickListener() {
			 
				@Override
				public void onClick(View v) {
					startActivity(new Intent(Menu.this,ViewNote.class));
					
				}
			});
		 ImageButton addnote=(ImageButton) findViewById(R.id.imageButton1);
		 addnote.setOnClickListener(new OnClickListener() {
			 
				@Override
				public void onClick(View v) {
					startActivity(new Intent(Menu.this,AddNote.class));
					
				}
			});
		
	}
}